package com.shensi.adminCollect.domain.customer;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.shensi.adminCollect.common.annotation.Excel;
import com.shensi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;
/**
 * 【请填写功能名称】对象 ic_recharge_change
 * 
 * @author qujia
 * @date 2021-11-16
 */
public class IcRechargeChange extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long icId;

    /** 主键 */
    private Long createby;

    /** 充值金额或消费金额 */
    @Excel(name = "充值金额或消费金额")
    private BigDecimal recharge;

    /** 1为充值，-1为消费 */
    @Excel(name = "1为充值，-1为消费")
    private Integer rechargeType;

    /** 来源，现金，2pos3微信4支付 */
    @Excel(name = "来源，现金，2pos3微信4支付")
    private String rechargeSource;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    private Long stationId;

    private String payType;

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public void setIcId(Long icId)
    {
        this.icId = icId;
    }

    public Long getIcId() 
    {
        return icId;
    }


    public void setCreateby(Long icId)
    {
        this.createby = createby;
    }

    public Long getCreateby()
    {
        return createby;
    }
    public void setRecharge(BigDecimal recharge) 
    {
        this.recharge = recharge;
    }

    public BigDecimal getRecharge() 
    {
        return recharge;
    }
    public void setRechargeType(Integer rechargeType) 
    {
        this.rechargeType = rechargeType;
    }

    public Integer getRechargeType() 
    {
        return rechargeType;
    }
    public void setRechargeSource(String rechargeSource) 
    {
        this.rechargeSource = rechargeSource;
    }

    public String getRechargeSource() 
    {
        return rechargeSource;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("icId", getIcId())
            .append("recharge", getRecharge())
            .append("rechargeType", getRechargeType())
            .append("rechargeSource", getRechargeSource())
            .append("createDate", getCreateDate())
            .append("createby", getCreateby())
            .toString();
    }
}
